#ifndef __TOTAL_TEST_ITEM_H__
#define __TOTAL_TEST_ITEM_H__

#include <iostream>
#include <cstring>
#include "test-module-external-interface.h"
#include "test-module-frame-format.h"
#include "test-item-audio-cable-insert.h"
#include "test-item-camera-module.h"
#include "test-item-infrared-lamp.h"
#include "test-item-lip-recognition.h"
#include "test-item-microphone.h"
#include "test-item-mode-button.h"
#include "test-item-ptt-button.h"
#include "test-item-speaker.h"
#include "test-item-wifi-connect.h"

class TestModuleItemManager
{
public:
    TestModuleItemManager(/* args */);
    ~TestModuleItemManager();

    int recv_command_data(void *data, uint16_t length);//接收命令数据函数

private:
    /* data */
    TestModuleFrameFormat       frame_format;

    TestItemAudioCableInsert    audio_cable_insert;
    TestItemModeButton          mode_button;
    TestItemPttButton           ptt_button;
    TestItemInfraredLamp        infrared_lamp;
    TestItemMicrophone          microphone;
    TestItemSpeaker             speaker;
    TestItemCameraModule        camera_module;
    TestItemWiFiConnect         wifi_connect;
    TestItemLipRecognition      lip_recognition;

    int recv_command_data_assign(TestModuleFrameContent data);
};

#endif
